﻿using SmartWMS.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Domain.BasicsDatum
{
    /// <summary>
    /// 产品类别表
    /// </summary>
    public class Category : KeyEntity
    {
        /// <summary>
        /// 类别编号
        /// </summary>
        [MaxLength(50)]
        public string? CategoryCode { get; set; }

        /// <summary>
        /// 类别名称
        /// </summary>
        [MaxLength(50)]
        public string? CategoryName { get; set; }

        /// <summary>
        /// 上级类别
        /// </summary>
        public int SuperiorTId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(500)]
        public string? Remarks { get; set; }



    }
}
